Use *at() functions for native filesystem commits
authorColin Walters <walters@verbum.org>
Tue, 16 Dec 2014 03:23:37 +0000 (22:23 -0500)
committerColin Walters <walters@verbum.org>
Wed, 7 Jan 2015 03:43:14 +0000 (22:43 -0500)
commit026c5c60d3aa5ffc529e64f136aa5e468a315d62
tree73c05d99d677a292075d2db45cd1319862a7a933
parentcf8d6848b3264eb5b92590d9802c1a0bd579b4c6
Use *at() functions for native filesystem commits

This is just an efficiency optimization.  We're getting fairly close
to all of the hot code paths using `*at()`.

Note that we end up maintaining a half-duplicate code path set here,
because we still need to support commits from an arbitrary GFile *,
which in a possible common case is an OSTree commit.

I think it's worth it though.
src/libostree/ostree-repo-commit.c
src/libostree/ostree-repo.c
src/libotutil/ot-fs-utils.c
src/libotutil/ot-fs-utils.h